package com.iotboss.system.mapper;

import com.iotboss.common.core.domain.entity.SysDept;
import com.iotboss.common.core.domain.iot.IotCustom;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IotCustomMapper {

    List<IotCustom> selectIotCustomList(IotCustom iotCustom);

    IotCustom findIotCustom(@Param("customName") String customName,@Param("customPhone") String customPhone, @Param("companyName") String companyName);

    int insertIotCustom(IotCustom iotCustom);

    int updateIotCustom(IotCustom iotCustom);

    int deleteIotCustomByIds(Long[] id);

    IotCustom selectIotCustomById(Long id);

    IotCustom findIotCustomById(@Param("id") Long id);
}
